package cn.juque.jdfsystem.entity;

import cn.juque.lucenecandy.core.annotation.Field;
import cn.juque.lucenecandy.core.annotation.Index;
import cn.juque.lucenecandy.core.enums.DataTypeEnum;
import lombok.Data;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>FileViewLogInfo</li>
 * </ul>
 * @date 2023-12-14 15:14:16
 **/
@Data
@Index(value = "jdf_file_view_log")
public class FileViewLogInfo extends JdfSystemEntity {

    /**
     * 文件ID
     */
    @Field(value = "file_id")
    private String fileId;


    /**
     * 浏览次数
     */
    @Field(value = "view_count", type = DataTypeEnum.LONG)
    private Long viewCount;

    /**
     * 是否已同步
     */
    @Field(value = "sync_flag", type = DataTypeEnum.INT)
    private Integer syncFlag;
}
